﻿<%@ Page Language="C#" %>
<%@ Import Namespace="System.IO" %>
<%
    string name = Request["name"];
    string link = MapPath("~") + "\\" + name;
    try
    {
        FileInfo file = new FileInfo(link);
        Response.Write(link);
        if (file.Exists)
            file.Delete();
        
    }
    catch (FileNotFoundException ex)
        {
            
        }
     
%>
